KeyModifiers

public interface KeyModifiers

The modifiers for the keyboard and mouse events. Indicates which keyboard modifier keys are pressed.

Types

Link copied to clipboard
public final class Builder
A builder of KeyModifiers.

Functions

Link copied to clipboard
public boolean isAltDown()
Returns true if the Alt key is pressed.
Link copied to clipboard
public boolean isAltGraphDown()
Returns true if the Alt Graph/Right Alt key is pressed.
Link copied to clipboard
public boolean isControlDown()
Returns true if the Ctrl key is pressed.
Link copied to clipboard
public boolean isMetaDown()
Returns true if the Meta key is pressed.
Link copied to clipboard
public boolean isShiftDown()
Returns true if the Shift key is pressed.
Link copied to clipboard
Creates a new KeyModifiers builder.